package cn.cjxy.controller;

import cn.cjxy.mapper.StudentMapper;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@Api(value = "入口测试", tags = "网络环境测试接口")
@RestController
public class HelloController {
    @Autowired
    private StudentMapper studentMapper;

    @RequestMapping("/hello")
    public String hello() {
        studentMapper.findAll().forEach(System.out::println);
        return "hello ";
    }


}
